{% extends "admin/delete_confirmation.html" %} {% load i18n %} {% load l10n %} {% load admin_urls %} {% load breadcrumbs %} {% block breadcrumb-list %} {% add_crumb 'Home' '/' %} {% url 'admin:index' as admin_index %} {% add_crumb 'Administration' admin_index %} {% url 'admin:app_list' app_label=opts.app_label as app_list %} {% add_crumb app_label|capfirst|escape app_list %} {% add_crumb opts.verbose_name_plural|capfirst opts|admin_urlname:'changelist' %} {% add_crumb 'Delete selected' %} {% endblock %} {% block message %} {% if perms_lacking or protected %} {% if perms_lacking %}

{% blocktrans %}Deleting the selected {{ objects_name }} would result in deleting related objects, but your account doesn't have permission to delete the following types of objects:{% endblocktrans %}

{% endif %} {% if protected %}

{% blocktrans %}Deleting the selected {{ objects_name }} would require deleting the following protected related objects:{% endblocktrans %}

{% endif %} {% else %}

{% trans "Are you sure you want to delete the following items?" %}

{% for deletable_object in deletable_objects %} {% endfor %}

Please, keep in mind this operation is irreversible...

{% endif %} {% endblock %} {% block formcontent %} {% if not perms_lacking and not protected %}
{% csrf_token %} {% for obj in queryset %} {% endfor %} {% endif %} {% url opts|admin_urlname:'changelist' as back_url %} {% include "elements/cancel_button.html" with back=back_url %} {% include "elements/submit_button.html" %} {% endblock %}